package com.googlecode.animator.controller
{
	import com.googlecode.animator.data.cameras.CameraVO;
	
	import org.puremvc.as3.interfaces.INotification;

	/**
	 * Adds a Camera3D to the model. 
	 * @author USER
	 * 
	 */
	public class AddCameraCommand extends BaseCommand
	{
		/**
		 * Executes command. 
		 * @param notification
		 * 
		 */
		public override function execute(notification:INotification):void
		{
			var VO:CameraVO = notification.getBody() as CameraVO;

			settings.addCamera(VO);
		}
		
	}
}